/*返回前海视角按钮*/
$(".button").click(function(){

    var layer = scene.layers.find("version3");
    var layer_2 = scene.layers.find("片区划分_150m");
    layer.setOnlyObjsVisible([], true);
    layer_2.setOnlyObjsVisible([], true);

    handler_mouseMove.mouseMove_01();                                                         //打开片区经停选择效果
    handler_leftClick.leftClick_01();

    handler_mouseMove_02 = handler_mouseMove_02 && handler_mouseMove_02.destroy();
    handler_leftClick_02 = handler_leftClick_02 && handler_leftClick_02.destroy();
    handler_mouseMove_03 = handler_mouseMove_03 && handler_mouseMove_03.destroy();
    
    unitsBillboardClose(entities_GW);                                               //关闭桂湾内单元billboard
    unitsBillboardClose(entities_QW);                                               //关闭前湾内单元billboard
    unitsBillboardClose(entities_MW);                                               //关闭妈湾内单元billboard
    unitsBillboardClose(entities_QH);
    unitsBillboardClose(buildingsBillboards);                                       //关闭建筑billboard
    // setTimeout(function(){unitsBillboardShow(regions, entities_QH)},3000);          //打开前海内片区billboard
    unitsBillboardShow(regions, entities_QH)                                        //打开前海内片区billboard
    scene.camera.flyTo({
        destination:{
            "x": -2383226.965984025,
            "y": 5394137.3843374085,
            "z": 2437720.8301236867
          },
        orientation:{
            heading:0.40169408217282054,
            pitch:-0.4416870707716809,
            roll:6.281747613758331
        },
        duration:1
    });
})

/*返回上一级的按钮*/
